import request from "../request.js"
//个人合同模板列表
export const memberTemplateList = data => {
	return request.post('/member-v1/contract/tpl/index', data)
}
export const userTemplateList = data => {
	return request.post('/contract-v1/contract/tpl', data)
}
//签署合同列表
export const membercontractList = data => {
	return request.post('/member-v1/contract/contract/index', data)
}
//邀请合同列表
export const memberinviteList = data => {
	return request.post('/member-v1/contract/contract/invite-index', data)
}
//签署文件列表
export const memberFileList = data => {
	return request.post('/member-v1/contract/file', data)
}
export const userFileList = data => {
	return request.post('/contract-v1/contract/file', data)
}
//邀请签署
export const InvitationToSign = data => {
	return request.post('/member-v1/contract/contract/multi-store', data)
}
export const userInvitationToSign = data => {
	return request.post('/contract-v1/contract/contract/multi-store', data)
}
//邀请人列表
export const signerList = data => {
	return request.post('/member-v1/contract/signer/index', data)
}
export const signerDestroy = data => {
	return request.post('/member-v1/contract/signer/destroy', data)
}
export const userSignerList = data => {
	return request.post('/contract-v1/contract/signer', data)
}
export const memberPageList = data => {
	return request.post('/common-v1/member/index', data)
}
export const companyUserPageList = data => {
	return request.post('/common-v1/company/user/options', data)
}
export const categoryPageList = data => {
	return request.post('/common-v1/contract/category/options', data)
}
export const userSignerDestroy = data => {
	return request.post('/contract-v1/contract/signer/destroy', data)
}
//签署合同
export const contractSign = data => {
	return request.post('/member-v1/contract/contract/sign', data)
}
export const userContractSign = data => {
	return request.post('/contract-v1/contract/contract/sign', data)
}
//签署人关键字
export const keywordList = data => {
	return request.post('/member-v1/contract/keyword', data)
}
export const userKeywordList = data => {
	return request.post('/contract-v1/contract/keyword', data)
}
//////////////企业/////////////////
//合同模板列表
export const contractTemplateList = data => {
	return request.post('/contract-v1/contract/tpl', data)
}
//合同模板列表
export const contractList = data => {
	return request.post('/contract-v1/contract/contract/index', data)
}
export const contractUserList = data => {
	return request.post('/contract-v1/contract/contract/user-list', data)
}
// 合同审核列表
export const contractAuditList = data => {
	return request.post('/contract-v1/contract/contract-audit', data)
}
// 审核合同
export const contractAuditHandle = data => {
	return request.post('/contract-v1/contract/contract-audit/handle', data)
}
// 抄送合同
export const contractRecipientList = data => {
	return request.post('/common-v1/contract/contract/recipient', data)
}
export const contractOrder = data => {
	return request.post('/common-v1/order/create', data)
}
export const packageOrder = data => {
	return request.post('/common-v1/contract/package/payment', data)
}
export const contractOrderPayment = data => {
	return request.post('/common-v1/order/payment', data)
}
export const addMemberSigner = data => {
	return request.post('/member-v1/contract/signer/store', data)
}
export const addUserSigner = data => {
	return request.post('/contract-v1/contract/signer/store', data)
}
export const memberAddKeyWord = data => {
	return request.post('/member-v1/contract/keyword/store', data)
}
export const companyAddKeyWord = data => {
	return request.post('/contract-v1/contract/keyword/store', data)
}
export const membercontractDetail = data => {
	return request.post('/common-v1/contract/contract/show', data)
}
export const getCompanyInfo = data => {
	return request.post('/contract-v1/company/company/show', data)
}
export const editInvitationToSign = data => {
	return request.post('/common-v1/contract/contract/multi-update', data)
}
export const tplStore = data => {
	return request.post('/common-v1/contract/tpl/store', data)
}
export const fileSignList = data => {
	return request.post('/common-v1/contract/file-sign/index', data)
}
export const fileDetail = data => {
	return request.post('/common-v1/contract/file-sign/show', data)
}
export const fileSignStore = data => {
	return request.post('/common-v1/contract/file-sign/store', data)
}
export const multiStore = data => {
	return request.post('/common-v1/contract/contract/multiStore', data)
}
export const keySign = data => {
	return request.post('/common-v1/contract/contract/key-sign', data)
}
export const contractRevoke = data => {
	return request.post('/common-v1/contract/contract/revoke', data)
}
export const contractDisuse = data => {
	return request.post('/common-v1/contract/contract/disuse', data)
}
export const getPackageList = data => {
	return request.post('/common-v1/contract/package/index', data)
}